//
//  QXLable.h
//  TicketPlan
//
//  Created by tangang on 2017/12/21.
//  Copyright © 2017年 tangang. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger ,ClickAttType) {
    ClickAttTypeDefault =0,///默认
    ClickAttTypeHTml    =1,///html
};

@interface QXLable : UILabel

- (void)use;

@property (nonatomic ,copy) void (^selectBlock)(NSInteger, NSAttributedString *);

///标题  字体大小15
- (instancetype)initTitle;
///灰色标题  字体大小15
- (instancetype)initGaryTitle;
- (instancetype)initWithFount:(NSInteger)fount;
///加粗字体
- (instancetype)initWithBFount:(NSInteger)fount;
///居中的文本
- (instancetype)initCenterTextWithText:(NSString *)text;
///灰色字体
- (instancetype)initGaryText;
///设置行间距 并居住
-(void)setLabelSpace:(CGFloat)lineSpacing;
///设置行间距不居中
-(void)setSpace:(CGFloat)lineSpacing;
///设置行间距并右靠齐
-(void)setRightSpace:(CGFloat)lineSpacing;
@end
